package com.hsource.doctorcenter.service.city.impl;

import com.hsource.doctorcenter.service.city.CityService;
import com.hsource.doctorcenter.util.http.OkHttpUtil;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@Service
public class CityServiceImpl implements CityService {


    /**
     * 获取城市数据
     * @return
     */
    @Override
    public String getCitys() {
        return OkHttpUtil.postFormParams("https://static.chunyuyisheng.com/@/static/dist/openapi/img/city_list.json",  new HashMap<String,String>());
    }
}
